let env = {}
const dev = {
	BASE_API: 'https://tco.truckego.net/tco/'
}
const prod = {
	BASE_API: 'https://ils.cnivss.com/'
}

// #ifdef MP-WEIXIN
if (typeof __wxConfig == "object") {
  let version = __wxConfig.envVersion;
  if (version == "release") {
		env = prod
    console.log("当前环境：正式环境☆★☆★☆★☆★☆★");
  } else {
		env = dev
		console.log("当前环境：开发环境☆★☆★☆★☆★☆★");
	}
}
// #endif

// #ifdef APP-PLUS|H5
if (process.env.NODE_ENV === "production") {
	env = prod
  console.log("当前环境：正式环境☆★☆★☆★☆★☆★");
} else {
	env = dev
  console.log("当前环境：开发环境☆★☆★☆★☆★☆★");
}
// #endif

export default env
